using System;
using System.Collections.Generic;

namespace Commons.Utils.Extractors
{
	public class DataExtractorParametizer : IDataExtractorParametizer
	{
		public Dictionary<string, Type> Capabilities { get; set; }

		public Type GetCapability(string name)
		{
			Type capability;
			if (Capabilities.TryGetValue(name, out capability))
			{
				return capability;
			}
			else
			{
				return null;
			}
		}
	}
}

